package com.situ.mall.admin.vo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserVO {
    private Integer id;
    private String username;
    private String name;
    private String password;
    //序列化类
    //@JsonSerialize(using = LocalDateTimeSerializer.class)
    //格式化
   // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;//与数据库相对应
}
